﻿//
// Created: 2018/12/15
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.ZXBuiness
{
    public class  ZXTiXianApply:IEntity
    {
    
        public string TiXianId { get; set; }
       ///<summary>
       ///
       ///<summary>
        public long UserFenRunId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public long ZX_UserId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public long OrderFengyunId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime ApplyTime  { get; set; } 
        public string StrApplyTime
        {
            get {

                return ApplyTime.ToString("yyyyMMdd HH:mm:ss");
                    }
        }
       ///<summary>
       /// 0 申请提现  5 已提现 10 拒绝
       ///<summary>
        public int State  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string ApproveOper  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime? ApproveTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal ApproveMoney  { get; set; } 

        public string StrApproveMoney { get {
                return ApproveMoney.ToString("#0.00");
            } }
       ///<summary>
       ///
       ///<summary>
        public string BalanceCode  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Remarks  { get; set; } 
         
        public string ApplyUserCode { get; set; }
      

       
       
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}